package com.ht.domain.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 科普文章
 */
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
@Data
@Document(collection = "article")
public class ArticleBO {
    private String id;
    //医生
    private String doctor;
    //职位
    private String level;
    //所属医院
    private String hospital;
    //所属科室
    private String department;
    //文章发表时间
    private String publishedTime;
    //文章标题
    private String articleTitle;
    //文章内容
    private String article;
    //科普文章审核状态
    private String articleStatus;
    //科普文章类型
    private String articleType;
    //对应的知识id
    private String knowledgeId;

    //科普号id
    private String popularizationId;

    private String hospitalName;

    private String departmentName;

    private String popularizationName;

    private String doctorName;

    private String levelName;
}
